b9a1df560006f54f05c369b364e3271a46443c01,java/code/src/com/redhat/rhn/frontend/xmlrpc/org/OrgHandler.java,OrgHandler,migrateSystems,#String#number#number#List#,745

Before Change


        // unless the user is a satellite admin, they are not permitted to migrate
        // systems from an org that they do not belong to
        if ((!admin.hasRole(RoleFactory.SAT_ADMIN)) && 
            (!admin.getOrg().getId().equals(fromOrgId.longValue()))) {
            throw new PermissionCheckFailureException();
        }
        

After Change


            // unless the user is a satellite admin, they are not permitted to migrate
            // systems from an org that they do not belong to
            if ((!admin.hasRole(RoleFactory.SAT_ADMIN)) && 
                (!admin.getOrg().equals(server.getOrg()))) {
                throw new PermissionCheckFailureException(server);
            }